/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tests;

import java.awt.Toolkit;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.UnsupportedFlavorException;
import java.io.Serializable;

/**
 *
 * @author gob
 */
public class NetPacket implements Serializable{
  private static final long serialVersionUID = 1L;
  public transient Object clipboardData;

  public NetPacket() {
    Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard();
    try {
      clipboardData = clipboard.getContents(null).getTransferData(clipboard.getContents(null).getTransferDataFlavors()[0]);
    } catch (Exception e) {

    }
  }


}
